﻿<%@ Page Title="" Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeFile="Detail-Product.aspx.cs" Inherits="Detail_Product" %>
<%@ Register tagName="yahoo" tagPrefix="yahoo" src="yahool.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
          
            <tbody><tr>
              <td height="40" style="padding-left:5px;"><table border="0" align="center" cellpadding="0" cellspacing="0">
                <tbody><tr>
                  <td><strong>Hỗ trợ trực tuyến:&nbsp;&nbsp;</strong></td>
                  <td>     
                  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"><tbody><yahoo:yahoo ID="Yahoo1" runat="server" /></tbody></table>
                 </td>
                </tr>
              </tbody></table></td>
            </tr>
             
            <tr>
              <td><img src="images/space.gif" width="1" height="10"></td>
            </tr>
          </tbody></table>




          <link rel="stylesheet" type="text/css" href="css/tabcontent.css">
          <script type="text/javascript" src="js/tabcontent.js"></script>
          <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tbody><tr>
    <td class="bgtitle"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
      <tbody><tr>
        <td width="20"><img src="./images/mui_ten.gif"></td>
        <td valign="bottom" class="title"><a class="linkcat20"><asp:Label runat="server" ID="lblcha"></asp:Label></a> <img src="images/linev2.jpg"> <a class="linkcat20"><asp:Label runat="server" ID="lblcon"></asp:Label></a></td>
        <td width="10" valign="bottom">&nbsp;</td>
      </tr>
    </tbody></table></td>
  </tr>
  <tr>
    <td valign="top"><img src="images/space.gif" width="1" height="10"></td>
  </tr>
  <tr>
    <td>  <asp:Repeater runat="server" ID="rpt_chitiet">
        <ItemTemplate>
  
                <table width="100%" style="border-collapse: collapse" border="0" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
				<tbody><tr> 
				<td valign="top" width="250"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tbody><tr><td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  <tbody><tr>
							<td width="11">
							  <img src="images/tbl_pro1.jpg" width="11" height="11"></td>
							<td background="images/tbl_pro2.jpg">
							  <img src="images/tbl_pro2.jpg" width="1" height="11"></td>
							<td width="11">
							  <img src="images/tbl_pro3.jpg" width="11" height="11"></td>
						  </tr>
						</tbody></table></td>
					</tr>
					<tr>
					  <td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  <tbody><tr>
							<td width="11" style="background-image:url(images/tbl_pro4.jpg); background-repeat:repeat-y; background-position:left top">
							  <img src="images/tbl_pro4.jpg" width="11" height="1"></td><td><div align="center"><img src='images/<%#Eval("Image") %>' width="180" border="0"></div></td>
							<td width="11" style="background-image:url(images/tbl_pro5.jpg); background-repeat:repeat-y; background-position:right top">
							  <img src="images/tbl_pro5.jpg" width="11" height="1"></td>
						  </tr>
						</tbody></table></td>
					</tr>
					<tr><td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  <tbody><tr>
							<td width="11">
							  <img src="images/tbl_logo6.jpg" width="11" height="11"></td>
							<td background="images/tbl_logo7.jpg">
							  <img src="images/tbl_logo7.jpg" width="1" height="11"></td>
							<td width="11">
							  <img src="images/tbl_logo8.jpg" width="11" height="11"></td>
						  </tr>
						</tbody></table></td>
					</tr>
				  </tbody></table></td>
				<td width="30">&nbsp;</td>
				<td valign="top">
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<tbody><tr> 
						  <td class="title16"><strong><%#Eval("Name") %></strong> </td>
						</tr>
						<tr>
						<td><img src="images/<%#Eval("Image") %>" height="10"></td>
							  </tr>
			   		</tbody></table>
					<table width="85%" border="0" cellpadding="5" cellspacing="0">
					<tbody><tr><td class="brd_bott"><strong>Giá mua online:</strong></td><td class="brd_bott"><span class="fontred"><%#Eval("PriceOnline") %> VNĐ </span></td></tr>
					<tr><td width="30%" class="brd_bott"><strong>Giá hãng:</strong></td><td class="brd_bott"><span class="fontgrayprice"><strong><%#Eval("Price") %> VNĐ</strong></span> </td></tr>
					<tr><td class="brd_bott"><strong>Khuyến mãi:</strong></td><td class="brd_bott"><%#Eval("Km") %></td></tr>
					<tr><td class="brd_bott"><strong>Bảo hành:</strong></td><td class="brd_bott"><%#Eval("Ensuarance")%> tháng</td></tr>
					<tr><td class="brd_bott"><strong>Lượt xem:</strong></td><td class="brd_bott"><%#Eval("Count") %></td></tr><tr><td>&nbsp;</td><td><br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td>
					</td></tr></tbody></table>
						</td>
                        <td width='2'><img src='images/space.gif' width='2'></td>
									<td>
                                       <asp:LinkButton runat="server" ID="ibt_buy" CommandName='<%#Eval("ProductID") %>' OnCommand="DatMua"><img src="images/but-book.jpg"/></asp:LinkButton>
                                    </td>
                        </tr>
					   </tbody></table>
					</td></tr></tbody></table>
      

                    
                    
                    <br>

<div id="pettabs" class="indentmenu">
<ul>
<li><a href="#" rel="dog1" class="selected"><strong>Chi tiết sản phẩm</strong></a></li>
</ul>
<br style="clear: left">
</div>

<div style="border:1px solid #CCCCCC; width:750px; padding-bottom:10px; padding-left:10px; padding-right:10px; padding-top:10px;">
<div id="dog1" class="tabcontent" style="display: block; ">
    <%#Eval("Detail") %>
</div>
</div>
      </ItemTemplate>
    </asp:Repeater>
    </td>
    
  </tr>
</tbody></table>


<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0"><tbody><tr>
    <td class="bgtitle"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
      <tbody><tr>
	 	<td width="10" valign="bottom">&nbsp;</td>
        <td width="20"><img src="./images/mui_ten.gif"></td>
        <td valign="bottom" class="title">Sản phẩm khác</td>
        <td width="10" valign="bottom">&nbsp;</td>
      </tr>
    </tbody></table></td>
  </tr>
  <tr>
    <td valign="top"><img src="images/space.gif" width="1" height="10"></td>
  </tr><tr> 
			<td colspan="3" align="left">
<asp:Repeater runat="server" ID="rpt_san_pham_cung_loai">
    <ItemTemplate>
    <table width='260' border='0' cellpadding='0' cellspacing='0' style="float: left">
				  <tr><td>
					  <table width='100%' border='0' cellspacing='0' cellpadding='0'>
						<tr>
						  <td width='11'><img src='images/tbl_pro1.jpg' width='11' height='11'></td>
						  <td background='images/tbl_pro2.jpg'><img src='images/tbl_pro2.jpg' width='1' height='11'></td>
						  <td width='11'><img src='images/tbl_pro3.jpg' width='11' height='11'></td>
						</tr>
					  </table></td>
				  </tr>
				  <tr>
					<td >
					  <table width='100%' border='0' cellspacing='0' cellpadding='0'>
					  <tr>
						  <td width='11' style='background-image:url(images/tbl_pro4.jpg); background-repeat:repeat-y; background-position:left top'>&nbsp;</td>
						  <td><img src='images/posts.gif'>&nbsp;<%--<a href='' class='linktitlebox'>Máy tính bảng</a> | <a href='' class='linktitlebox'>Archos</a>--%></td>
						  <td width='11' style='background-image:url(images/tbl_pro5.jpg); background-repeat:repeat-y; background-position:right top'>&nbsp;</td>
						</tr>
						<tr>
						  <td width='11' style='background-image:url(images/tbl_pro4.jpg); background-repeat:repeat-y; background-position:left top'>&nbsp;</td>
						  <td height='270'><div align='center'><table width='100' border='0' cellpadding='0' cellspacing='0' align='center'>
							  <tr>
								<td align='left'><A style='cursor:hand' href="Detail-Product.aspx?ma-san-pham=<%#Eval("ProductID") %>"> <img src='images/<%#Eval("Image") %>' width=180 height='260' BORDER=0> </A></td>
							  </tr></table></div></td>
						  <td width='11' style='background-image:url(images/tbl_pro5.jpg); background-repeat:repeat-y; background-position:right top'>&nbsp;</td>
						</tr>
						<tr>
						  <td width='11' style='background-image:url(images/tbl_pro4.jpg); background-repeat:repeat-y; background-position:left top'>&nbsp;</td>
						  <td height='50'><div align='center'><a style='cursor:hand' href="Detail-Product.aspx?ma-san-pham=<%#Eval("ProductID") %>" class='linkblack'><%#Eval("Name") %></a>  <br> <span class='fontred'><%#Eval("PriceOnline") %> VNĐ</span><br><span class='fontgreen'><%#ThuVien.Lib.ReplaceStringToShort(Eval("Km").ToString(),34)%></span></div></td>
						  <td width='11' style='background-image:url(images/tbl_pro5.jpg); background-repeat:repeat-y; background-position:right top'>&nbsp;</td>
						</tr>
					  </table>
                    </td>
				  </tr>
                  <tr>
                        <td>
						  <table width='100%' border='0' cellspacing='0' cellpadding='0'>
							<tr>
							  <td width='11'><img src='images/tbl_pro6.jpg' width='11' height='44'></td>
							  <td background='images/tbl_pro7.jpg' style='padding-bottom:3px'>
							  <table border='0' align='center' cellpadding='2' cellspacing='0'>
								<form style='margin:0'>
								<input type='hidden' name='idcth' value='901'>
								<input type='hidden' name='proname' value='Archos Arnova 7f G3'>
								<input type='hidden' name='price' value='3190000'>
								<input type='hidden' name='poids' value='0'>
								<input type='hidden' name='img' value='images/Archos-arnova-7f-G3.jpg'>
								  <tr>
									<td><a style='cursor:hand' href="Detail-Product.aspx?ma-san-pham=<%#Eval("ProductID") %>">
                                        <img src="images/but-detail.jpg" border="0"/>
                                    </a></td>
									<td width='2'><img src='images/space.gif' width='2'></td>
									<td>
                                       <asp:LinkButton runat="server" ID="ibt_buy" CommandName='<%#Eval("ProductID") %>' OnCommand="BuyClick"><img src="images/but-book.jpg"/></asp:LinkButton>
                                    </td>
								  </tr>
								  </form>
								</table>
							  </td>
							  <td width='11'><img src='images/tbl_pro8.jpg' width='11' height='44'></td>
							</tr>
						  </table>
                       </td>
				  </tr>
                  </table>
    </ItemTemplate>
</asp:Repeater>

 </td>
			  </tr></tbody></table>
</asp:Content>

